/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package persistencia;

import java.util.ArrayList;
import java.util.Collection;
import modelo.DetalleFactura;
import modelo.Factura;

/**
 *
 * @author Felipe
 */
public class FacturaDetalleComposite {
    
    private Factura factura;
    private Collection<DetalleFactura> listaDetalle;

    public FacturaDetalleComposite() {
        this.listaDetalle = new  ArrayList<DetalleFactura>();
    }

    
    public Factura getFactura() {
        return factura;
    }

    public void setFactura(Factura factura) {
        this.factura = factura;
    }

    public Collection<DetalleFactura> getListaDetalle() {
        return listaDetalle;
    }

    public void setListaDetalle(Collection<DetalleFactura> listaDetalle) {
        this.listaDetalle = listaDetalle;
    }
    
}
